//---------------------------------------------------------------------------

#ifndef DOBOR_GOR_VODAH
#define DOBOR_GOR_VODAH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ActnList.hpp>
#include "Fr_Adres.h"
#include "cxContainer.hpp"
#include "cxControls.hpp"
#include "cxEdit.hpp"
#include "cxGraphics.hpp"
#include "cxLookAndFeelPainters.hpp"
#include "cxLookAndFeels.hpp"
#include "cxMaskEdit.hpp"
#include "cxSpinButton.hpp"
#include "cxSpinEdit.hpp"
#include "cxTextEdit.hpp"
#include <ComCtrls.hpp>
#include "cxButtons.hpp"
#include "cxCalendar.hpp"
#include "cxDropDownEdit.hpp"
#include "cxGroupBox.hpp"
#include <Menus.hpp>
#include <DB.hpp>
//---------------------------------------------------------------------------
class TfrDOBOR_GOR_VODA : public TForm
{
__published:	// IDE-managed Components
	TActionList *ActionList1;
	TAction *CLOSE_FORM;
	TFrame_Adres *Frame_Adres1;
	TGroupBox *gbDOM;
	TLabel *Label1;
	TEdit *edDOM;
	TLabel *Label2;
	TEdit *edDOM2;
	TUpDown *UpDDom2;
	TcxGroupBox *gbDAT;
	TLabel *Label3;
	TcxDateEdit *dtpDAT_OTKL;
	TLabel *Label4;
	TcxDateEdit *dtpDAT_VKL;
	TcxGroupBox *gbRAZNIZA_TRF;
	TLabel *Label5;
	TLabel *Label6;
	TEdit *edTRF1;
	TEdit *edTRF2;
	TcxButton *btPERESH;
	TAction *PERESH;
	void __fastcall CLOSE_FORMExecute(TObject *Sender);
	void __fastcall Frame_Adres1cbULClick(TObject *Sender);
	void __fastcall edDOMKeyDown(TObject *Sender, WORD &Key, TShiftState Shift);
	void __fastcall edDOM2KeyDown(TObject *Sender, WORD &Key, TShiftState Shift);
	void __fastcall dtpDAT_OTKLKeyDown(TObject *Sender, WORD &Key,
          TShiftState Shift);
	void __fastcall dtpDAT_VKLKeyDown(TObject *Sender, WORD &Key,
          TShiftState Shift);
	void __fastcall edTRF1KeyDown(TObject *Sender, WORD &Key, TShiftState Shift);
	void __fastcall edTRF2KeyDown(TObject *Sender, WORD &Key, TShiftState Shift);
private:	// User declarations
public:		// User declarations
int PUNKT,VU,UL;
String DOM, DOM2;
	__fastcall TfrDOBOR_GOR_VODA(TComponent* Owner);
	void __fastcall TfrDOBOR_GOR_VODA::Obnovi();
};
//---------------------------------------------------------------------------
extern PACKAGE TfrDOBOR_GOR_VODA *frDOBOR_GOR_VODA;
//---------------------------------------------------------------------------
#endif
